package liczba;

/**
 * Created by grzegorz on 10/6/14.
 */
public class Liczba {
  private long liczba;
	private int number;

	public Liczba( int n ) {
		number = n;
	}

	public String convert( int base ) throws NumberException { //Komentarz
		if( base > 16 || base < 2 )
			throw new NumberException();
		return Integer.toString( number, base );
	}
}